package com.easybuilder.core.rbac.service;

import com.easybuilder.common.base.entity.PageQueryWrapper;
import com.easybuilder.common.base.entity.PageResultWrapper;
import com.easybuilder.core.rbac.entity.SysRole;

import java.util.List;

public interface SysRoleService {
    List<SysRole> getByUserId(Long userId);

    void save(SysRole sysRole);

    PageResultWrapper<SysRole> page(PageQueryWrapper<SysRole> pageQueryWrapper);
}
